package com.dragon.logical.service.auth;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.repository.entity.ModRole;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 模块角色表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-07-20
 */
public interface IModRoleService extends IService<ModRole> {

    List< ModRole> listModRole(Integer adminId);

    void addModRole(ModRole modRole);

    void updateModRole(ModRole modRole);

    void deleteModRole(Integer id);

    void chooseMod(Integer roleId, String modIds);

    List<ModRole> selectModListByRoleId(Integer roleId);
}
